﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using AgenciaViajeServices.Dominio;

namespace AgenciaViajeServices
{
    [ServiceContract]
    public interface IAreas
    {
        [OperationContract]
        Area CrearArea(string des, string res);
        [OperationContract]
        Area ObtenerArea(int codigo);
        //[OperationContract],
        //Area BuscarArea(string codge);
        [OperationContract]
        Area ModificarArea(int codigo, string des, string res);
        [OperationContract]
        void EliminarArea(int codigo);
        [OperationContract]
        List<Area> ListarAreas();
    }
}
